package org.yankun.exam4j.core.question.service;

import java.io.Serializable;
import java.util.List;

import org.yankun.exam4j.entity.CandidateInput;
import org.yankun.exam4j.entity.CandidateSelect;
import org.yankun.exam4j.entity.PaperQuestion;
import org.yankun.exam4j.entity.Question;
import org.yankun.exam4j.entity.QuestionTypeConfig;

public interface QuestionService {
	
	public List<QuestionTypeConfig> getQuestionType();
	
	public void addQuestion(Question question);
	
	public void addCandidateSelects(CandidateSelect cds);
	
	public void addCandidateInput(CandidateInput cdi);
	
	public List<PaperQuestion> getPaperQuestionByPaper(Serializable paperId);
	
	public Question getQuestionByQuestionId(Serializable questionId);
	
	public void addPaperQuestion(PaperQuestion pq);
}
